package com.example.demo.controller;

import com.example.demo.strategy.BizMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cici
 */
@RestController
public class TestStrategyController {

    @Autowired
    private BizMethodService bizMethodService;

    @GetMapping(value = "/test/strategy")
    public void testStrategy(){
        bizMethodService.doBizMethod(1);
    }
}
